<template>
  <div class="job-info">
    <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="姓名：">
        <el-input v-model="form.name" width="200px" />
      </el-form-item>
      <el-form-item label="新密码：">
        <el-input v-model="form.name" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">更新</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'JobInfo',
  data() {
    return {
      form: {
        name: '',
        region: '',
        date1: '',
        date2: '',
        delivery: false,
        type: [],
        resource: '',
        desc: ''
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    }
  }
}
</script>

<style lang="scss" scoped>
  .job-info{
    padding-top:20px;
    margin-left: 140px;
  }
</style>
